package com.qiangesoft.bootcodegen.pojo.convert;

import com.qiangesoft.bootcodegen.entity.BcgTableColumn;
import com.qiangesoft.bootcodegen.pojo.dto.BcgTableColumnConfigDTO;
import com.qiangesoft.bootcodegen.pojo.vo.BcgTableColumnVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 表字段配置 对象转换工具
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Mapper
public interface BcgTableColumnConvert {

    BcgTableColumnConvert INSTANCE = Mappers.getMapper(BcgTableColumnConvert.class);

    BcgTableColumnVO entityToVo(BcgTableColumn entity);

    BcgTableColumn dtoToEntity(BcgTableColumnConfigDTO dto);
}